
package hasthi.container.p2p;

import java.util.List;
import java.util.Vector;

public class BroadcastResponseBag {
    private List<UnicastXmlMessage> responseList = new Vector<UnicastXmlMessage>();
    public void addMessage(UnicastXmlMessage message){
        responseList.add(message);
    }
    
    public  List<UnicastXmlMessage> getMessages(){
        return responseList;
    }

    public int size() {
        return responseList.size();
    }
}

